package com.topnav.mc.admin.service;

import com.topnav.mc.admin.entity.DeviceChannel;
import com.topnav.mc.admin.entity.bean.DeviceChannelBean;
import com.topnav.mc.admin.entity.param.DeviceChannelParam;
import com.topnav.mc.base.mc.IMcService;

public interface IDeviceChannelService extends IMcService<DeviceChannel, DeviceChannelBean, DeviceChannelParam> {

    /**
     * 由设备号和通道号取得通道实体数据
     * @param deviceId
     * @param ChannelCode
     * @return
     */
    DeviceChannel getChannelFromDevAndChnCode(Long deviceId,String ChannelCode);
}
